// for mock
import request from '@/utils/request';

// export const BASE_URL = 'http://localhost:7001';
/* 版本 */

// export const STORAGE_BASE_URL = '/cos/storage?Key=';

export function upload(data) {
  return request({
    url: '/cos/storage',
    method: 'post',
    data,
    headers: { 'Content-Type': 'multipart/form-data' },
  });
}
